GVariant *xattrs,
GInputStream *input,
int destination_dfd,
- GFile *destination_parent,
const char *destination_name,
GCancellable *cancellable,
GError **error)
GVariant *xattrs,
GInputStream *input,
int destination_dfd,
- GFile *destination_parent,
const char *destination_name,
GCancellable *cancellable,
GError **error)
GFile *source,
GFileInfo *source_info,
int destination_dfd,
- GFile *destination_parent,
const char *destination_name,
OstreeRepoCheckoutMode mode,
OstreeRepoCheckoutOverwriteMode overwrite_mode,
if (overwrite_mode == OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_FILES)
{
if (!checkout_file_unioning_from_input_at (repo, mode, source_info, xattrs, input,
- destination_dfd, destination_parent,
+ destination_dfd,
destination_name,
cancellable, error))
{
else
{
if (!checkout_file_from_input_at (repo, mode, source_info, xattrs, input,
- destination_dfd, destination_parent,
+ destination_dfd,
destination_name,
cancellable, error))
{
OstreeRepoCheckoutOverwriteMode overwrite_mode,
int destination_parent_fd,
const char *destination_name,
- GFile *destination,
OstreeRepoFile *source,
GFileInfo *source_info,
GCancellable *cancellable,
{
ret = checkout_one_file_at (self, (GFile *) source,
source_info,
- destination_dfd, destination,
+ destination_dfd,
g_file_info_get_name (source_info),
mode, TRUE,
cancellable, error);
if (g_file_info_get_file_type (file_info) == G_FILE_TYPE_DIRECTORY)
{
- gs_unref_object GFile *child_destination = g_file_get_child (destination, name);
if (!checkout_tree_at (self, mode, overwrite_mode,
- destination_dfd, name, child_destination,
+ destination_dfd, name,
(OstreeRepoFile*)src_child, file_info,
cancellable, error))
goto out;
else
{
if (!checkout_one_file_at (self, src_child, file_info,
- destination_dfd, destination, name,
+ destination_dfd, name,
mode, overwrite_mode,
cancellable, error))
goto out;
return checkout_tree_at (self, mode, overwrite_mode,
AT_FDCWD,
gs_file_get_path_cached (destination),
- destination,
source, source_info,
cancellable, error);
}